<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<div class="wrap-main-column-side">
	<div class="w-side-inside">
		<div class="school-showbox">
			<div class="title">校园风采</div>
			<div class="showbox">
				<div class="box" id="box">
					
						
					
				</div>
			</div>
		</div>
		<!-- 
			<div class="school-hot-topic">
				<div class="title">大家都在聊</div>
				<div class="list">
					<ul>
						<li class="clearfix"><a href="">#一句话cos班主任#</a><span>1560</span></li>
						<li class="clearfix"><a href="">#暑假做了什么#</a><span>1560</span></li>
						<li class="clearfix"><a href="">#暑假干了什么#</a><span>1560</span></li>
						<li class="clearfix"><a href="">#暑假玩了什么#</a><span>1560</span></li>
					</ul>

				</div>

			</div>
			 -->
	</div>
</div>
<script type="text/javascript">
	
	
	//校园风采
	function campusStyle() {
		var fun = function(data) {
			if (!isnull(data.spList) && 0 < data.spList.length) {
				var spList = data.spList;
				var return_array = getArrayItems(spList,6);
				var temp="<ul id='csUl' class='flost-list clearfix bjqs'>";
				for(var i=0;i<return_array.length;i++){
					temp +="<li style='width: 100%'><a style='width: 100%' href='${aier_url}school/schoolalbum${aier_suffix}?sid=${sid}'><img style='width: 100%' src='${schoolgal_get_url}big/"+return_array[i].img+"'</a></li>";
				}
				temp +="</ul>";
				$("#box").html(temp);
				$('#box').bjqs({
					// animtype      : 'slide',
					height : 210,
					width : 300,
					responsive : true,
					randomstart : true
				});
			}
		};
		exeAjax(
				ajaxUrl("${aier_url}${aier_urijs}scomm_serachCampusStyle${aier_suffix}"),
				fun, {
					"sid" : "${sid}"
				});	
	}

	
	campusStyle();
</script>